home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Digi-view 4.0 PAL.adf / DV-Link / SetHAMPlus < prev    next >
AmigaDOS Script File  |  2018-01-18  |  808b  |  42 lines

  1. .key LeaveThisHere
  2.  
  3. DoWeHaveMem
  4. if warn
  5. echo "                Sorry - This demo requires 1 megabyte of memory"
  6. wait 2
  7. skip NoMemory
  8. endif
  9.  
  10. if not exists RAM:Echo
  11. copy DVLink RAM:
  12. copy C:Wait RAM:
  13. copy C:Echo RAM:
  14. endif
  15.  
  16. RAM:echo " A sample script to set 4096+ mode"
  17. RAM:echo " Use Quit-DV to exit from WorkBench"
  18. RAM:echo " Requires 1 meg of memory"
  19. RAM:echo ""
  20.  
  21. cd /      ; MUST BE IN DIGI-VIEW DIRECTORY
  22. RAM:DVLink mhap   ;Check for Digi-View
  23. if warn
  24. RAM:echo " Now Loading Digi-View ..."
  25. run >nil: DV 320 256 c
  26. RAM:wait 9             ; Floppy delay, change for hard drive
  27. lab loop
  28. RAM:DVLink mhap
  29. if warn
  30. RAM:wait 2
  31. skip loop back      ;wait for Digi-View to load
  32. endif
  33. endif
  34.  
  35. RAM:DVLink scbk
  36. RAM:echo ""
  37. RAM:echo " 4096+ mode now set, use Quit-DV script to exit"
  38. RAM:wait 3
  39. RAM:DVLink scfr
  40.  
  41. lab NoMemory
  42.